  /**
 *
 *               Copyright (c) 2010 by Anoln
 *
 * All rights reserved.  These materials are confidential and
 * proprietary to NCS. and no part of these materials
 * should be reproduced, published in any form by any means,
 * electronic or mechanical, including photocopy or any
 * Information storage or retrieval system nor should the
 * materials be disclosed to third parties without the express
 * written authorization of BALANCE.
 *
 *<Class Description>
 *
 *
 *<Module Name>
 *
 *
 *<Change Revision>
 *====================================================
 *Date                 Author                Remarks
 *
*/

package com.balance.anole.business.to;

import java.math.BigDecimal;

import com.balance.anole.common.to.AnoleBaseTO;
import com.balance.anole.common.to.CodeLookTO;
import com.balance.anole.utils.NumberUtil;

public class ProductPriceTO extends AnoleBaseTO {

	/**
	 *
	 */
	private static final long serialVersionUID = 8157164835532296731L;

	private ProductTO product;
	private CodeLookTO priceType;
	private BigDecimal price;
	private CodeLookTO status;


	public ProductTO getProduct() {
		return product;
	}
	public void setProduct(ProductTO product) {
		this.product = product;
	}
	public CodeLookTO getPriceType() {
		return priceType;
	}
	public void setPriceType(CodeLookTO priceType) {
		this.priceType = priceType;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public String getPriceStr() {
		return NumberUtil.formatBigDecimal(price, "#0.00");
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public CodeLookTO getStatus() {
		return status;
	}
	public void setStatus(CodeLookTO status) {
		this.status = status;
	}
}
